package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;

/**
 * 火化炉炕面连接开关关联表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CremationFurnaceViewEntity", name = "cremation_furnace_view", comment = "火化炉炕面连接开关关联表")
public class CremationFurnaceViewEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 火化外键
     */
    @MyColumn(value = "cremationId", name = "cremation_id", comment = "火化外键")
    private Integer cremationId;

    /**
     * 火化炉面外键
     */
    @MyColumn(value = "furnaceId", name = "furnace_id", comment = "火化炉面外键")
    private Integer furnaceId;

    /**
     * 关联摄像头外键
     */
    @MyColumn(value = "cameraId", name = "camera_id", comment = "关联摄像头外键")
    private Integer cameraId;

    /**
     * 流程状态
     */
    @MyColumn(value = "processStateCode", name = "process_state_code", comment = "流程状态", required = true)
    private Integer processStateCode;

    /**
     * 打开时间
     */
    @MyColumn(value = "openTime", name = "open_time", comment = "打开时间")
    private Date openTime;

    /**
     * 关闭时间
     */
    @MyColumn(value = "closeTime", name = "close_time", comment = "关闭时间")
    private Date closeTime;


    public String getBusinessCode() {
        return businessCode;
    }

    public CremationFurnaceViewEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getCremationId() {
        return cremationId;
    }

    public CremationFurnaceViewEntity setCremationId(Integer cremationId) {
        this.cremationId = cremationId;
        return this;
    }

    public Integer getFurnaceId() {
        return furnaceId;
    }

    public CremationFurnaceViewEntity setFurnaceId(Integer furnaceId) {
        this.furnaceId = furnaceId;
        return this;
    }

    public Integer getCameraId() {
        return cameraId;
    }

    public CremationFurnaceViewEntity setCameraId(Integer cameraId) {
        this.cameraId = cameraId;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public CremationFurnaceViewEntity setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public CremationFurnaceViewEntity setOpenTime(Date openTime) {
        this.openTime = openTime;
        return this;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public CremationFurnaceViewEntity setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
        return this;
    }
}